package com.xuebusi.toutiao.admin.api.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 收藏实体类
 */
@Data
@TableName("tb_collect")
public class CollectEntity {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("user_id")
    private Integer userId;

    @TableField("type")
    private Integer type;

    @TableField("source_id")
    private Integer sourceId;

    @TableField("create_time")
    private Date createTime;
}
